package com.zprmb.udzt.util;

import android.util.Log;



/**
 * 带控制器的log
 * 
 * @author shenshao
 *
 */
public class LogUtils {
	/**
	 * 控制log的输出
	 */
	public static boolean log = false;

	public static void e(Object ob, String content) {
		if (log) {
			Log.e("rmbbox", ob.getClass().getName() + "：          " + content);
		}
	}

	public static void i(Object ob, String content) {
		if (log) {
			Log.i("rmbbox", ob.getClass().getName() + "：          " + content);
		}
	}

	public static void w(Object ob, String content) {
		if (log) {
			Log.w("rmbbox", ob.getClass().getName() + "：          " + content);
		}
	}

	public static void d(Object ob, String content) {
		if (log) {
			Log.d("rmbbox", ob.getClass().getName() + "：          " + content);
		}
	}

}
